<template>
    <div>
        {{page}}{{page_num}}
        <van-pagination v-model="page" :total-items="page_num" :items-per-page="page_count" @change="check_page"/>
    </div>
</template>

<script>
import axios from 'axios'
export default {
    props:['page','page_num','page_count']
    ,    
    data() {
        return {

        }
    },
    methods: {
        check_page:function(){
                this.$emit('page',this.page)
        }
    },
    mounted() {

    },
    created() {

    }
}
</script>

<style scoped>

</style>